package me.healthcare.event;

import java.util.concurrent.ExecutionException;

import me.healthcare.activity.DoctorActivity;
import me.healthcare.activity.ForgetPasswordActivity;
import me.healthcare.activity.PatientActivity;
import me.healthcare.activity.RegisterActivity;
import me.healthcare.app.R;
import me.healthcare.webserivce.LoginService;
import android.app.Activity;
import android.content.Intent;
import android.util.Log;
import android.widget.EditText;
import android.widget.Toast;

public class LoginActivity_Events {
	

	public static void login(Activity activity) throws InterruptedException,
			ExecutionException {
	

	}

	// mock test
	private static int loginCheck(String username, String password) {
		if (username.equals("") && password.equals("")) {
			// TODO
			return 0;
		}
		if (username.equals("a") && password.equals(""))
			return 1;
		else
			return 2;
	}
}
